Final Remarks

The commands to specify the headers and footers are quite complicated when even- and odd-numbered pages have different layout and we want also to redefine the plain page style. Therefore for version 2 of fancyheadings I will create an easier user interface (the old commands will still work). To give you the opportunity to comment, here is a preview:

The *head and *foot commands will be replaced by commands \fancyhead and \fancyfoot. These will have an optional argument that selects which fields to change, e.g. L for the left field, E for even pages, etc. See figure [*]. Selectors can be combined so \fancyhead[LE,RO]{text} will define the field for both the left header on even pages and the right header on odd pages.

Figure: Selectors
\begin{figure}\begin{center}
\leavevmode
\begin{tabular}{\vert l\vert l\vert}
...
...Bottom \\
F & Float page \\
\hline
\end{tabular} \end{center}
\end{figure}
There will also be a new command \fancypagestyle that allows you to (re)define page styles. One use for this is to redefine the page style plain so the \fancyplain stuff is no longer necessary. Another use is to allow special page styles to be used with thispagestyle or maybe for float pages.

The complicated example in section [*] will then become:

\fancyhead{} % clear all fields
\fancyhead[LE,RO]{\bfseries The performance of new graduates}}
\fancyfoot[LO,CE]{From: K. Grant}
\fancyfoot[RE,CO]{To: Dean A. Smith}
\fancyfoot[RO,LE]{\bfseries \thepage}
\setlength{\headrulewidth}{0.4pt}
\setlength{\footrulewidth}{0.4pt}

\fancypagestyle{plain}{%
\fancyhead{}
\fancyfoot[C]{\bfseries \thepage}}

As you can see this is much less complicated.

If you want to comment please use e-mail or regular mail to:
Piet van Oostrum
Dept. of Computer Science
Utrecht University
P.O. Box 80.089
3508 TB Utrecht, The Netherlands
Telephone: +31 30 531806 Telefax: +31 30 513791
Internet: piet@cs.ruu.nl